let fs = require('fs');

/**
 * 从本地文件中获取token
 */
let getToken = () => {
  let token = fs.readFileSync()
  return token
}
/**
 * 将token存储到本地
 * @param {string} token 
 */
let setToken = (token) => {
  let result = false
  return result
}
/**
 * 获取本地存储的host
 */
let getHost = () => {
  let host = ''
  return host
}
/**
 * 将host存储到本地中
 */
let setHost = () => {
  let result = false
  return result
}
/**
 * 将文件放置在指定的路径中
 * @param {待放置的文件} file 
 * @param {放置的路径} path 
 */
let putFileToPath = (file, path) => {
  let result = false
  return result
}

module.exports = {
  getToken,
  getHost,
  setToken,
  setHost,
  putFileToPath
}

